home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / nihcl-30.lha / nihcl-3.0 / test / string.v < prev    next >
Text File  |  1990-05-19  |  2KB  |  42 lines

  1.  
  2. Test Class String
  3. String::String(char& c, unsigned l=1, unsigned extra): x
  4. xxxxxxxxxxxxxxxxxxxxxxxxx
  5. String::String(): 0 15
  6. String::String(unsigned storage): 0 100
  7. String::String(const char*): 0123456789 25
  8. String::String(const char*, unsigned extra): 0123456789 20
  9. String::String(const String&): 0123456789
  10. String::String(const String&, unsigned extra): 0123456789
  11. String::String(const SubString&):
  12. SubString String::operator()(unsigned pos, unsigned lgt): 123 18
  13. String::String(const SubString&,  unsigned extra): 123 13
  14. operator String::constCharPtTy(): 456789
  15. SubString String::operator()(const Range& r): 123
  16. char& String::operator[](unsigned i): void String::operator=(const char*): 9123456789
  17. unsigned String::length(): 0
  18. unsigned String::size(): 0
  19. unsigned String::capacity(): 13
  20. unsigned String::reSize(unsigned new_capacity): 0
  21. void String::operator=(const String&): 0123456789
  22. 0123456789
  23. void String::operator=(const SubString&): 123456789
  24. 012345678
  25. 123456789
  26. bool String::operator==(const String& s): 1
  27. bool String::operator<(const SubString ss): 1
  28. bool operator<(const char* cs): 1
  29. friend bool operator<(const char* cs, const String& s): 1
  30. String String::operator&(const String& s): 01234567890123456789
  31. String String::operator&(const SubString& ss): 0123456789123456789
  32. String String::operator&(const char* cs): 0123456789xxx
  33. friend String operator&(const char* cs, const String& s): xxx0123456789
  34. friend String operator&(const char*, const SubString&): xxx12345678
  35. String& String::operator&=(const String&): 01234567890123456789
  36. String& String::operator&=(const SubString&): 0123456789123456789
  37. 0123456789123456789
  38. String& String::operator&=(const char* cs): 0123456789xxx0x
  39. char& String::at(unsigned i): 9123456789
  40. void String::toLower(): abcabc
  41. void String::toUpper(): ABCABC
  42.